// Configuration.h: interface for the CConfiguration class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONFIGURATION_H__65BFDC6D_A3F6_4C8B_BA20_4B0AD66C8776__INCLUDED_)
#define AFX_CONFIGURATION_H__65BFDC6D_A3F6_4C8B_BA20_4B0AD66C8776__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CConfiguration : public CObject  
{
	DECLARE_SERIAL(CConfiguration);
public:
	CConfiguration(
		const CString& csCKS="merlin.acs",
		const CString& csTTS="{CA141FD0-AC7F-11D1-97A3-006008273002}",
		int maxDayHours=8,
		int maxContMinutes=30,
		int latestSleepHour=22,
		int sleepNotiInterval=5,
		int deactiveOnMinutes=3
		)
		: m_CharacterKeyStr(csCKS),
		m_TTSModeId(csTTS),
		m_MaxContMinutes(maxContMinutes),
		m_MaxDayHours(maxDayHours),
		m_LatestSleepHour(latestSleepHour),
		m_SleepNotiInterval(sleepNotiInterval),
		m_DeactiveOnMinutes(deactiveOnMinutes)

	{

	}

	virtual void Serialize(CArchive& ar);

	CString m_CharacterKeyStr;
	CString m_TTSModeId;

	int m_MaxDayHours;
	int m_MaxContMinutes;
	int m_LatestSleepHour;
	int m_SleepNotiInterval;

	int m_DeactiveOnMinutes;
};

#endif // !defined(AFX_CONFIGURATION_H__65BFDC6D_A3F6_4C8B_BA20_4B0AD66C8776__INCLUDED_)
